package cn.sskxyz.security.authorization.config;

import org.springframework.cache.CacheManager;
import org.springframework.cache.caffeine.CaffeineCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CacheConfigure {

    @Bean
    public CacheManager cacheManager() {
        return new CaffeineCacheManager("basic", "client");
    }
}
